/*
 * ChoosePayWayContract.java
 * business
 *
 * Created by chentao on 2017/5/2.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.main.shoppingcart.choosepayway;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.data.ShopPayWays;
import com.yidiandao.business.data.bean.PayWay;
import com.yidiandao.business.interfaces.RefreshLayoutStateListener;

import java.util.List;

public interface ChoosePayWayContract {

    interface View extends BaseView<Presenter>,RefreshLayoutStateListener {

        void setItems(List<?> items);

        void notifyDataSetChanged();

        void finishActivity();
    }

    interface Presenter extends BasePresenter {

        void confirmPayWays();

        boolean checkOnlinePayLimit(ShopPayWays shopPayWays, PayWay payWay);
    }
}
